package com.ganjiang.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.ganjiang.entity.User;

@Mapper
public interface UserMapper {
	List<User> selectAllUser();
	
	public int delete(Integer id);
	public int addUser(User user);
	public int update(User user);
	List<User>findAllUserWithCenter();
	

	public User findById(Integer id);




	public User findByUserCenterId(Integer uid);

	
	public User findUserWithCenter(Integer uid);
	
	

}
